package main.java.com.example.test.Mapper;

import com.example.test.pojo.order;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface orderMapper {

    //添加一个请求
    @Insert("insert into order (start,end,date) values (#{start},#{end},#{date})")
    int addOrder(order order);

}
